package com.zhenwgang.listen_books.view_object;

/**
 * @author Violet
 * @date 2022/07/14 20:15
 **/
public class AlbumVO {
    public int aid;
    public int uid;
    public String title;
    public String cover;
    public String state;

    public AlbumVO(int aid, int uid, String title, String cover, int state){
        this.aid = aid;
        this.uid = uid;
        this.title = title;
        this.cover = cover;
        switch (state){
            case 0: this.state = "已下线"; break;
            case 1: this.state = "未发布"; break;
            case 2: this.state = "已发布"; break;
            default: this.state = "未知"; break;
        }
    }
}